Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --log-stderr option #1542

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Conversation

saschagrunert
Copy link
Member

@saschagrunert saschagrunert commented Sep 3, 2024

This option was inherited before, but now we can set it explicitly to allow/disallow logging to stderr when selecting a certain log driver.

For example on exec, we would need to log anything to stdio even when the debug logs are enabled.

Refers to #1525

Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

Copy link

podman system tests failed. @containers/packit-build please check.

This option was inherited before, but now we can set it explicitly to
allow/disallow logging to stderr when selecting a certain log driver.

For example on exec, we would need to log log anything to stdio even
when the debug logs are enabled.

Signed-off-by: Sascha Grunert <[email protected]>
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

1 similar comment
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

Copy link

podman system tests failed. @containers/packit-build please check.

Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@giuseppe giuseppe merged commit 6ad2b30 into containers:main Sep 3, 2024
33 of 56 checks passed
@kwilczynski
Copy link
Member

/approve
/lgtm

@saschagrunert saschagrunert deleted the log-stderr branch September 3, 2024 09:20
@giuseppe
Copy link
Member

giuseppe commented Sep 3, 2024

I had to revert this patch as it causes the containerd tests to fail: #1545

runc doesn't seem to have the same option. Should we make it accept an argument so that we can turn it off and leave the default as it is now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants